package org.example.exampreparationtreasure.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.exampreparationtreasure.model.dto.QuestionQueryDTO;
import org.example.exampreparationtreasure.model.entity.Question;

import java.util.List;

@Mapper
public interface QuestionMapper extends BaseMapper<Question> {
    List<Question> queryByConditions(QuestionQueryDTO queryDTO);

    Long countByConditions(QuestionQueryDTO queryDTO);
}


